<template>
  <div class="login">
    <mt-field
      label="用户名"
      placeholder="请输入用户名"
    ></mt-field>
    <mt-field
      label="密码"
      placeholder="请输入密码"
      type="password"
    ></mt-field>
    <mt-button
      type="primary"
      @click="login"
    >登录</mt-button>
    <mt-button type="danger">取消</mt-button>
  </div>
</template>
<script>
export default {
  data () {
    return {
      loginform: {}
    }
  },
  methods: {
    login () {}
  }
}
</script>
<style lang="scss" scoped>
.login {
}
</style>
